// PERMUTE_ARGS:

/*
TEST_OUTPUT:
---
fail_compilation/test12979.d(13): Error: `const`/`immutable`/`shared`/`inout` attributes are not allowed on `asm` blocks
---
*/

void foo()
{
    version(GNU)
    {
        asm const shared
        {
            "";
        }
    }
    else
    {
        asm const shared
        {
            ret;
        }
    }
}
